"""
拆分长字符串
"""
import re
def main():
    poem = '崖岸穿云卷怒涛，清风三尺削蓬蒿。古来侠客俱已矣，天下谁人共萧骚。'
    sentence_list = re.split(r'[，。, .]', poem)
    while '' in sentence_list:
        sentence_list.remove('')
    print(sentence_list)  # ['崖岸穿云卷怒涛'，'清风三尺削蓬蒿'。'古来侠客俱已矣'，'天下谁人共萧骚'。]
if __name__ == '__main__':
    main()